#!/usr/bin/env python

def getReadableSize(Size):
	value = "0 KB"
	if Size>0:
		unit = float(1024)

		if Size < pow(unit, 2):
			value = ("%s KB") % (round(Size / unit, 2))
		else:
			value = ("%s MB") % (round(Size / pow(unit, 2), 2))

	return value